home *** CD-ROM | disk | FTP | other *** search
- --property PnavObList, PhotSpotList, PmyLink, PmyFrame
- --
- --global GnavList, GvidSprite, GhotSpotOffset, GpicList, GscreenObject
- --
- --
- --on new me, whichNode, whichFrame
- --
- -- if objectP(GscreenObject) then
- -- if the PmySound of GscreenObject then
- -- if not soundBusy (1) then puppetsound member "eerie22" of castlib "sound"
- -- end if
- --
- -- if whichNode = #n29n then
- -- if the PtheRock of GscreenObject and the PtheMallet of GscreenObject then
- -- set whichNode = #n29xn
- -- else if the PtheRock of GscreenObject then
- -- set whichNode = #n29bn
- -- else if the PtheMallet of GscreenObject then
- -- set whichNode = #n29nx
- -- end if
- -- end if
- --
- -- if whichNode = #n35w then
- -- if the ParcadeFlag of GscreenObject then
- -- puppetsound member "vo1.aiff" of castlib "sound"
- -- set the ParcadeFlag of GscreenObject = 0
- -- end if
- -- end if
- -- if whichNode = #n35e then set the ParcadeFlag of GscreenObject = 1
- -- if whichNode = #n11e then alertThing
- --
- -- if not voidP(getaprop(the PmySounds of GscreenObject, whichNode)) then
- -- puppetsound member getaprop(the PmySounds of GscreenObject, whichNode) of castlib "sound"
- -- end if
- -- end if
- --
- -- set myData = getaprop(GnavList, whichNode)
- --
- -- set navList = getat(myData,1)
- -- set PnavObList = []
- -- repeat with x = 1 to count(navList)
- -- set vidNav = new(script "vidNav", getat(navList,x))
- -- add PnavObList, vidNav
- -- end repeat
- --
- -- set PmyLink = whichNode
- -- set PmyFrame = whichFrame
- -- set the movieTime of sprite GvidSprite = whichFrame
- --
- -- -- chechNew PmyLink
- --
- -- return me
- --
- --end
- --
- --
- --on move me
- --
- -- repeat with x = 1 to count(PhotSpotList)
- -- rollThing getat(PhotSpotList,x)
- -- end repeat
- --
- --end
- --
- --
- --on check me, hotspotlist, whichNode
- -- if count(hotspotlist) > 0 then
- -- puppetsprite 10,1
- -- set the membernum of sprite 10 = member getaprop(GpicList,whichNode) of castlib "interface"
- -- updatestage
- -- end if
- --end
- --
- --
- --on chechNew whichNode
- -- if not voidP(getaprop(GpicList,whichNode)) then
- -- do getaprop(GpicList,whichNode)
- -- puppetsprite GvidSprite, 0
- -- end if
- --end
- --
-